package exceptions;

public class ExceptionsTest {

    public static void main(String... args) {
        try {
            Integer a = null;
            Integer b = a + 2;
        } catch (NullPointerException e) {
            System.out.println("a");
        } catch (ClassCastException e) {
            System.out.println("b");
        } finally {
            System.out.println("c");
        }        
    }

}
